package models

type Song struct {
	Id         int64  `gorm:"column:id" json:"id"`
	Type       int    `gorm:"column:type" json:"type"`
	Data       string `gorm:"column:data" json:"data"`
	Summary    string `gorm:"column:summary" json:"summary"`
	TimeModify int64  `gorm:"column:time_subscribe" json:"time_modify"`
	Flag       int    `gorm:"column:flag;default:0" json:"-"`
}

func (Song) TableName() string {
	return "music_songs"
}
